<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改密码</title>
</head>
<body>
<center>
    <h1>修改密码</h1>
    <form action="/updatePWD" method="post">
        <table border="1">
            <tr>
                <td>用户名</td>
                    <!-- 在form表单中的输入组件都要使用name属性指定名字,否则表单提交时会忽略这个组件的值 -->
                <td><input name="username" type="text"></td>
            </tr>
            <tr>
                <td>旧密码</td>
                <td><input name="password" type="password"></td>
            </tr>
            <tr>
                <td>新密码</td>
                <td><input name="newPassword" type="password"></td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <input type="submit" value="修改">
                </td>
            </tr>
        </table>
    </form>
</center>
</body>
</html>